home *** CD-ROM | disk | FTP | other *** search
- Path: news.compuserve.com!newsmaster
- From: JamesCurran@CIS.CompuServe.Com (James M. Curran)
- Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
- Subject: Re: C or C++ for a 14-year old?
- Date: Mon, 08 Jan 1996 04:26:01 GMT
- Organization: CompuServe Incorporated
- Message-ID: <4cq6cr$t51@dub-news-svc-1.compuserve.com>
- References: <4b30ld$lp2$1@mhafc.production.compuserve.com> <w31V7MD4ED1aLz3@dexam.another.gun.de> <dschrage.23.152EBB70@indirect.com>
- NNTP-Posting-Host: ad08-014.compuserve.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- dschrage@indirect.com (Dan Schrage) wrote:
-
- >Moreover, C is the
- >most practical language that one can learn, because it can do basically
- >anything, even system-level programming using a variety of toolkits (until
- >you get into hard-core assembler programming, which is where I am at now).
-
- My choice would be C++, for two simple reasons: With a porper string
- classs, you eliminate the need for C's rather insane "string as an
- array of really tiny integers" model, the #1 cause of trouble among
- beginning C programmer. In fact, with a standard class library that's
- in any way competnet, you can virtually do with any pointers in your
- code (the #2 cause of trouble). And with new/delete with those rare
- cases where you insist on having a pointer, you avoid the troble of
- malloc/free (#3 cause of trouble...)
-
-